//
//  LeftView.h
//  Daybook
//
//  Created by liutaifeng on 16/5/23.
//  Copyright © 2016年 zhangbin. All rights reserved.
//

#import "BaseView.h"
#import "Common.h"
#import "AccountBookModel.h"
@protocol LeftViewDelegate <NSObject>

- (void)headLoginAction;
//- (void)userNameAction;
- (void)twoCodeAction;
- (void)syncAction;
- (void)addAction;
- (void)setModel:(AccountBookModel *)model index:(NSInteger)index;
- (void)exchangeBackground:(NSString *)background name:(NSString *)name;
@end

@interface LeftView : BaseView
@property (nonatomic, assign) id<LeftViewDelegate> delegate;
@property (nonatomic, strong) AccountBookModel *model;
@property (nonatomic, assign) BOOL isEdit;
@property (nonatomic, strong) NSMutableArray *modelArray;
@property (nonatomic, assign) NSInteger index;
@end
